﻿#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QMovie>
#include <QTimer>
#include <QPushButton>
#include <QLabel>
#include "Global.h"

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT
    
public:
    QLabel* time;
    QLabel* signal;
    explicit Widget(QWidget *parent = 0);
    ~Widget();

private slots:

    void on_UseWaitpushButton_clicked();
    void on_UseWaitHintButton_pressed();
    void on_UseWaitHintButton_released();
    void onClickedLongCount();

private:

    QTimer timerLongPress;//和长按相关的计时器;
    QMovie* movie;
    Ui::Widget *ui;

};


#endif // WIDGET_H
